import { BaseService, Service, Permission } from '@/cool';

@Service('crm/tag_word')
export default class extends BaseService {
	// 开始给用户打标签
	@Permission('start')
	start(params) {
		return this.request({
			url: '/start',
			params: {
				...params
			}
		});
	}
	// 标签词库一键消息推送
	@Permission('pushMessage')
	pushMessage(params) {
		return this.request({
			url: '/pushMessage',
			method: 'POST',
			data: {
				...params
			}
		});
	}
}